package edu.sctu.practice.class02.yangshengyu.sonOfFather;

/**
 * Created by Cullen on 2015/8/27.
 */
public class Animal {
    public int age=20;
    public String name="xiahua";
    public void eat(){
        System.out.print(name+"年龄"+age+"可以吃东西！");
    }
     final public void eaten(){                               //final修饰
        System.out.print(name+"年龄"+age+"可以吃东西！");
    }

}
//此为父类